
from django.db import models


class EphmLimitsWarning(models.Model):
    zone = models.CharField(max_length=255, blank=True, null=True)
    op = models.CharField(max_length=255, blank=True, null=True)
    item = models.CharField(max_length=255, blank=True, null=True)
    item_cn = models.CharField(max_length=255, blank=True, null=True)
    item_level = models.IntegerField(blank=True, null=True)
    value = models.FloatField(blank=True, null=True)
    up_limit = models.FloatField(blank=True, null=True)
    low_limit = models.FloatField(blank=True, null=True)
    ephm_measures = models.TextField(blank=True, null=True)
    person_in_charge = models.CharField(max_length=255, blank=True, null=True)
    timestamp = models.DateTimeField(blank=True, null=True)
    create_time = models.DateTimeField(blank=True, null=True)
    update_time = models.DateTimeField(blank=True, null=True)

    class Meta:
        managed = False
        db_table = 'ephm_limits_warning'

